const mongoose = require("mongoose");

mongoose.connect(
  "mongodb+srv://ping18569830496:12er56ui90@zg5-3-xm.jtvmz17.mongodb.net/"
);

const conn = mongoose.connection;

conn.on("open", () => {
  console.log("mongoDB connected");
});

module.exports = mongoose;
